package order.job;

import com.well.rpc.job.WellJobContext;
import com.well.rpc.job.WellJobHandler;
import org.springframework.stereotype.Component;

/**
 * <p>
 * hello job
 * </p>
 *
 * @author weedo
 * @since 2022/8/6
 */
@Component
public class HelloWordJob2 implements WellJobHandler {

    @Override
    public void handleJob(WellJobContext context) {
        System.out.println("hello, Well-Job");
    }

    @Override
    public String cronTrigger() {
        return "1 * * * * ?";
    }
}
